<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ page import="com.zmx.holiday.user.model.*"%>
<%String menu="5"; %>
<%@ include file="/head.jsp" %>
<div id="main">
		<div id="main_banner"></div>
		<div id="left">
			<%@ include file="/user/user_left.jsp" %>
			<div id="reg_right">
				<div class="title"><h3>待审批用户</h3></div>
				<div class="info-words bottom">
					<table border="0" cellspacing="1" cellpadding="0">
	                    <tr style="text-align:center;">
	                      <th style="text-align:center;width:15%;">用户名</th>
	                      <th style="text-align:center;width:35%;">用户权限</th>
	                      <th style="text-align:center;width:32%;">用户状态</th>
	                      <th style="text-align:center;width:18%;">操作</th>
	                    </tr>
	                    <s:iterator value="list" status="index">
	                    <tr>
	                      <td><a style="color:#336699;" href="/user/userInfoShow.action?userID=<s:property value='userID'/>" target="_blank"><s:property value="userName"/></a></td>
	                      <td><s:property value="userRight"/></td>
	                      <td><s:property value="userStatus"/></td>
	                      <td>
	                      <s:if test="userStatus=='普通会员正常'||userStatus=='收费会员正常'">
	                      	<a style="color:#336699;" href="/admin/lockNo.action?userID=<s:property value='userID'/>">锁定</a>
	                      </s:if>
	                      <s:elseif test="userStatus=='等待审批'">
	                      	<a style="color:#336699;" href="/admin/applyCheck.action">审批</a>
	                      </s:elseif>
	                      <s:elseif test="userStatus=='审批已拒绝'">
	                      	<a style="color:#336699;" href="/admin/applyYes.action?userID=<s:property value='userID'/>">审批通过</a>
	                      </s:elseif>
	                      <s:elseif test="userStatus=='锁定中'">
	                      	<a style="color:#336699;" href="/admin/lockYes.action?userID=<s:property value='userID'/>">激活</a>
	                      </s:elseif>
	                      </td>
	                    </tr>
	                    </s:iterator>
	                  </table>
				</div>
			</div>
		</div>	
		<%@ include file="/integration/list_right.jsp" %>
</div>
<%@ include file="/foot.jsp" %>